package com.example.leave.domain.approval.repo;

import com.example.leave.domain.approval.aggregate.ApprovalRule;
import com.example.leave.domain.leave.aggregate.valueObject.LeaveType;

/**
 * TODO
 *
 * @author lxh
 * @date 2020/11/27 上午10:04
 **/
public interface ApprovalRuleRepo {
    ApprovalRule findOne(LeaveType leaveType, int duration);
}
